package com.macro.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件上传返回结果
 *
 * @author macro
 * @date 2019/12/25
 */
@Data
@EqualsAndHashCode
@AllArgsConstructor
public class StorageObject {
    @ApiModelProperty("文件访问URL")
    private String url;
    @ApiModelProperty("文件名称")
    private String name;
    @ApiModelProperty("对象ID")
    private String objId;
    @ApiModelProperty("文件类型")
    private String fileType;
    @ApiModelProperty("文件大小")
    private Long fileSize;
    @ApiModelProperty("数据来源")
    private String sourceType;
}
